x11: Use Window instead of GdkNativeWindow
authorBenjamin Otte <otte@redhat.com>
Fri, 28 Jan 2011 14:45:16 +0000 (15:45 +0100)
committerBenjamin Otte <otte@redhat.com>
Fri, 28 Jan 2011 16:06:07 +0000 (17:06 +0100)
gdk/x11/gdkscreen-x11.c

index 8735dd228075950da86b426345fc5e08ff9b87fc..e5cc2aedf23fc847206b4894c9fdcb4283f75e26 100644 (file)
@@ -1019,12 +1019,12 @@ gdk_x11_screen_get_active_window (GdkScreen *screen)
     {
       if ((type_return == XA_WINDOW) && (format_return == 32) && (data))
         {
-          GdkNativeWindow window = *(GdkNativeWindow *) data;
+          Window window = *(Window *) data;
 
           if (window != None)
             {
               ret = gdk_x11_window_foreign_new_for_display (x11_screen->display,
-                                                        *(Window *) data);
+                                                            window);
             }
         }
     }